﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JBeamLibrary.VehicleParts.Interfaces
{
    public interface IVehicleGroup<T> where T : IVehicleElement
    {
        int Count { get; }
        bool IsEmpty { get; }
        object GetElementValue(int index, string propName);
        void SetElementValue(int index, string propName, object value);
        IEnumerable<KeyValuePair<string, object>> GetElementValues(int index);
        IVehicleGroupCollection<T> GroupCollection { get; }
    }
}
